package com.ddwl.schema.bo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * 类profitAppleyBo.java的实现描述：用户提交代理审批入参
 *
 * @author zach
 * @Date :2020-06-23 11:03.
 */
@Getter
@Setter
@ApiModel("用户提交代理审批入参")
public class ProfitApplySubmitBo {

    @ApiModelProperty(hidden = true)
    private String userId;

    @NotNull
    @ApiModelProperty(value = "用户身份证姓名",required = true)
    private String idName;

    @NotNull
    @ApiModelProperty(value = "用户身份证号",required = true)
    private String idCard;


    @NotNull
    @ApiModelProperty(value = "地址不能为空",required = true)
    private String regionId;

    @NotNull
    @ApiModelProperty(value = "地址不能为空",required = true)
    private String adder;

    @NotNull
    @Pattern(regexp = "^1\\d{10}$",message = "请输入正确的手机号")
    @ApiModelProperty(value = "用户手机号",required = true)
    private String phone;

    @NotNull
    @ApiModelProperty(value = "身份证正面",required = true)
    private String idCardBack;

    @NotNull
    @ApiModelProperty(value = "身份证反面",required = true)
    private String idCardFront;
}
